package com.yazi.mxz.server.response.mixin;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Member;
import com.yazi.mxz.common.entity.beans.MemberNotice;
import com.yazi.mxz.common.entity.beans.MemberNoticeId;
import com.yazi.mxz.server.response.view.NoticeView;

public class MemberNoticeMixIn extends MemberNotice {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Override
	@JsonIgnore
	public MemberNoticeId getId() {
		return super.getId();
	}

	@Override
	@JsonIgnore
	public Member getMember() {
		return super.getMember();
	}

	@JsonView(NoticeView.class)
	@JsonSerialize(as=NoticeMixIn.class)
	String notice;
	/*@Override
	public Notice getNotice() {
		return super.getNotice();
	}*/
	
	
}
